package com.example.demo.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 功能描述：
 *
 * @Author: Zhanghf
 * @Date: 2021/12/18 16:51
 */
@Component
@FeignClient(value = "NOVEL-CREATIVEASSISTANCE-SERVICE")
public interface CreativeassistanceFeignService {
    @PostMapping(value = "/getMaleAppearance")
    public String getMaleAppearance(@RequestParam("type")String type  );

    @PostMapping(value = "/getFemaleAppearance")
    public String getFemaleAppearance(@RequestParam("type")String type );
}
